package cn.com.cifi.mars.constant;

/**
  * 货值审批核心指标分类
 * @author Administrator
 *
 */
public enum CoreWarnItemEnum {

	EQUITYPRICE("equityPrice","权益前货值（万元）"),
	EQUITYBEFOREPROFIT("equityBeforeProfit","权益前创造利润额（万元）"),
	EQUITYAFTERPROFIT("equityAfterProfit","权益后创造利润额（万元）"),
	CREATEPROFIT("createProfit","创造利润率"),
	MELTINGIRR("meltingIRR","非融IRR"),
	MELTINGINVESTMENT("meltingInvestment","非融静态投资回收期（月）");

    private String key;
    private String value;

    CoreWarnItemEnum(String key,String value) {
        this.key = key;
        this.value = value;
    }

    public String getKey() {
        return key;
    }
    
    public String getValue() {
        return value;
    }
    
    public static String getValueByKey(String key){
        for(CoreWarnItemEnum eunm:CoreWarnItemEnum.values()){
            if(key.equals(eunm.getKey())){
                return eunm.getValue();
            }
        }
        return  null;
    }

}
